''========================================================
'' Autor: 		Luis Antonio Lara Capetillo
'' Fecha Creación: 	1/11/2012
'' Descripcion: 	Clase perteneciente a la capa de negocios
''========================================================

Imports CapaDatos
Imports CapaEntidad

Public Class CN_DataAccesCambio_Consigna_Buques

	Public Sub InsertarDataAccesCambio_Consigna_Buques(ByVal DataAccesCambio_Consigna_Buques As DataAccesCambio_Consigna_Buques, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesCambio_Consigna_Buques()
			claseCapaDatos.InsertarDataAccesCambio_Consigna_Buques(DataAccesCambio_Consigna_Buques, conexion, Verificador)
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ConsultaDataAccesCambio_Consigna_Buques(ByRef Grid As System.Web.UI.WebControls.GridView, ByVal DataAccesCambio_Consigna_Buques As DataAccesCambio_Consigna_Buques, ByVal conexion As String, ByRef List As System.Collections.Generic.List(Of DataAccesCambio_Consigna_Buques))
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesCambio_Consigna_Buques()
			claseCapaDatos.ConsultaDataAccesCambio_Consigna_Buques(DataAccesCambio_Consigna_Buques, conexion, List)

			Grid.DataSource = List
			Grid.DataBind()
		Catch ex As Exception
			Throw ex
		End Try
	End Sub
	Public Sub ModificarDataAccesCambio_Consigna_Buques(ByVal DataAccesCambio_Consigna_Buques As DataAccesCambio_Consigna_Buques, ByVal conexion As String, ByRef Verificador As Integer)
		Try
			Dim claseCapaDatos As New CapaDatos.CD_DataAccesCambio_Consigna_Buques()
			claseCapaDatos.ModificarDataAccesCambio_Consigna_Buques(DataAccesCambio_Consigna_Buques, conexion, Verificador)
		Catch ex As Exception
		Throw ex
		End Try
	End Sub

End Class